package com.company.java.basic.day01;
/*
赋值运算
①基本赋值运算 =
②扩展赋值运算
+= -= /= %=
 */
public class Day01_Assign {
    public static void main(String[] args) {
        byte b1 = 1;
        byte b2 = 2;
        b2 +=b1;    //等同于 b2 = (byte)(b1+b2);
        System.out.println(b2);
        System.out.println("------------");
    }
}
